import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import {URL, fileURLToPath} from 'node:url'
// https://vitejs.dev/config/
export default defineConfig({
  plugins: [vue()],

  resolve: {
    alias: {
      '@': fileURLToPath(new URL('./src', import.meta.url))
    }
  },

  css: {
    preprocessorOptions: {
      scss: {
        additionalData: `@import "@/assets/css/var.scss";`
      }
    }
  },

  server: {
    host: "0.0.0.0",
    port: 9000,
  }
})
